<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8" />
		<meta name="viewport" content="width=device-width, initial-scale=1.0 user-scalable=no" /> 
		<title>快赚宝下载</title>

		<style type="text/css">
			*{margin: 0;padding: 0;}
			body{width: 100%;height: 100%;}
			.box{position: relative;margin: 0;}
			.bg{width: 100%;height: 100%;display: block;}
			img{display: block}
		</style>
		
	</head>
	<body>
		<div class="down">
			<div class="box" id="download">

				<img src="image/topbanner.jpg" class="bg">
				
			</div>

		</div>
		


	</body>
</html>

<script type="text/javascript">
		var u = navigator.userAgent;
		var isAndroid = u.indexOf('Android') > -1 || u.indexOf('Adr') > -1; //android终端
		var isiOS = !!u.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/); //ios终端
		
		var ua = window.navigator.userAgent.toLowerCase();
		var downloadbutton = document.getElementById("download")
		downloadbutton.onclick = function(){
			
			
			if(isiOS){
				alert('暂无ios安装包')
			}else if(isAndroid){
// 				if(ua.match(/MicroMessenger/i) == 'micromessenger'){
// 					alert('用浏览器打开下载')
// 				}else{
// 					window.location.href = ''
// 				}
				window.location.href = 'http://xxcc100.com/h5/com.kuaizhuan.full.apk'
			}
		}
		
		
		

</script>